/* 
 * File:   fori.h
 * Author: Henrique
 *
 * Created on 22 de Abril de 2010, 13:42
 */

#ifndef _FORI_H
#define	_FORI_H

class fori {
public:
    fori();
    fori(std::string str, double* mem, std::vector<std::string> programa);
    fori(const fori& orig);
    virtual ~fori();
    std::string& replaceAll(std::string& context, const std::string& from, const std::string& to);
    double* executaFor(std::string str);
    int numberCom;
    char var;
    double* memoria;
    int posIni;
    int posFin;
    std::vector<std::string> instrucoes;
private:

};

#endif	/* _FORI_H */

